home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 23
/
AACD 23.iso
/
AACD
/
Magazine
/
YAM
/
Source
/
Makefile.m68k-AmigaOS
< prev
next >
Wrap
Makefile
|
2001-04-08
|
3KB
|
79 lines
OBJS= YAM.o YAM_AB.o YAM_CL.o YAM_CO.o YAM_COg.o YAM_COs.o YAM_DI.o YAM_EA.o \
YAM_ER.o YAM_FI.o YAM_FO.o YAM_MA.o YAM_MAf.o YAM_MI.o YAM_RE.o YAM_TR.o YAM_US.o \
YAM_UT.o YAM_WR.o YAM_loc.o YAM_rexx.o YAM_rexx_rxcl.o YAM_rexx_rxif.o \
hmac_md5.o
#ifeq ($(shell uname), AmigaOS)
EXTRA_OBJS= all_gcc.o
YAM: $(OBJS) $(EXTRA_OBJS)
gcc -noixemul -o YAM $(OBJS) $(EXTRA_OBJS) -lmui -lstack
YAM.h: YAM.h.in
cp YAM.h.in YAM.h
%.o: %.c
gcc -W -Wall -Iincludes -DNO_INLINE_STDARG -noixemul -O2 -funsigned-char -c -DYAMVER="\"2.3-dev\"" -D__YAM_VERDATE="\"`date +%d.%m.%Y`\"" -D__YAM_VERDAYS="`expr \`date +%s\` / 86400 - 2922`" $<
#else # MorphOS
#
#EXTRA_OBJS= YAM_extra.o YAM_gates.o
#YAM: $(OBJS) $(EXTRA_OBJS)
# gcc -noixemul -o YAM $(OBJS) $(EXTRA_OBJS) gg:lib/NewReadArgs.o -lmui -lxpkmaster -lopenurl -lamiga
#
#starter: starter.c
# m68k-amigaos-gcc -o starter -O2 -nostlib -noixemul -DNAME="\"YAM\"" starter.c
#
#YAM.h: YAM.h.in
# perl gen_include.pl YAM.h.in >YAM.h
#
#%.o: %.c
# gcc -noixemul -O2 -mmultiple -mcpu=604e -c -DYAMVER="\"2.2\"" -DYAMDATE="\"07.11.00\"" $<
#
#endif # AmigaOS
YAM.o: YAM.c YAM.h YAM_loc.h
YAM_AB.o: YAM_AB.c YAM.h YAM_loc.h
YAM_CL.o: YAM_CL.c YAM.h YAM_loc.h
YAM_CO.o: YAM_CO.c YAM.h YAM_loc.h
YAM_COg.o: YAM_COg.c YAM.h YAM_loc.h
YAM_COs.o: YAM_COs.c YAM.h YAM_loc.h
YAM_DI.o: YAM_DI.c YAM.h YAM_loc.h
YAM_EA.o: YAM_EA.c YAM.h YAM_loc.h
YAM_ER.o: YAM_ER.c YAM.h YAM_loc.h
YAM_FI.o: YAM_FI.c YAM.h YAM_loc.h
YAM_FO.o: YAM_FO.c YAM.h YAM_loc.h
YAM_MA.o: YAM_MA.c YAM.h YAM_loc.h
YAM_MAf.o: YAM_MAf.c YAM.h YAM_loc.h
YAM_MI.o: YAM_MI.c YAM.h YAM_loc.h
YAM_RE.o: YAM_RE.c YAM.h YAM_loc.h
YAM_TR.o: YAM_TR.c YAM.h YAM_loc.h
YAM_US.o: YAM_US.c YAM.h YAM_loc.h
YAM_UT.o: YAM_UT.c YAM.h YAM_loc.h
YAM_WR.o: YAM_WR.c YAM.h YAM_loc.h
YAM_loc.o: YAM_loc.c
YAM_rexx.o : YAM_rexx.c YAM_rexx.h
YAM_rexx_rxcl.o: YAM_rexx_rxcl.c YAM_rexx.h
YAM_rexx_rxif.o: YAM_rexx_rxif.c YAM_rexx.h YAM.h YAM_loc.h
YAM_extra.o: YAM_extra.c YAM.h YAM_loc.h
YAM_gates.o: YAM_gates.c
YAM_loc.c: YAM.cd
flexcat YAM.cd YAM_loc.h=C_h.sd YAM_loc.c=C_c.sd
gates:
@echo >YAM_gates.c "/* FILE GENERATED BY gen_gates.pl - DO NOT EDIT */"
@echo >>YAM_gates.c "#include <exec/types.h>"
@echo >>YAM_gates.c "#include <emul/emulinterface.h>"
@echo >>YAM_gates.c "#include <emul/emulregs.h>"
@echo >>YAM_gates.c "typedef void *Msg;"
@echo >>YAM_gates.c "typedef struct { long dummy; } Object;"
for file in YAM*.c; do perl gen_gates.pl $$file >>YAM_gates.c; done
deutsch.catalog: deutsch.ct
flexcat YAM.cd deutsch.ct CATALOG LOCALE:catalogs/deutsch/YAM.catalog FLUSH